package com.example.makerspace.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
@TableName(value = "t_user_authentication", autoResultMap = true)
@Document(indexName = "t_user_authentication")
public class UserAuthenticationDO  extends  BaseDO{
    @Field(name = "phone", type = FieldType.Text)
    private  String phone;
    @Field(name = "name", type = FieldType.Text)
    private  String name;
    @Field(name = "idCard", type = FieldType.Text)
    private  String idCard;
    @Field(name = "industry", type = FieldType.Text)
    private  String industry;
    @Field(name = "background", type = FieldType.Text)
    private  String background;
    @Field(name = "remark", type = FieldType.Text)
    private  String remark;
    @Field(name = "map_address", type = FieldType.Text)
    private  String mapAddress;
    private  String username;
}
